Is there an inverse versionString function?

Is there an inverse versionString function?

i.e. one that will translate "1.1 (draft)" into 1, 1 and "draft"

(not that it's hard to write up a regex, but if there's an "official" way of doing it...)
SystemAdmin - Wed May 26 16:15:20 EDT 2010

Re: Is there an inverse versionString function?
Peter_Albert - Thu May 27 03:03:58 EDT 2010

When you have a handle on the baseline, you can use the 'int major(Baseline b)', 'int minor(Baseline b)' and 'string suffix(Baseline b)' functions to get the information you want.

Regards,

Peter